﻿using Bmz.Studio.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bmz.Studio.Services
{
    public class PersonService:IPersonService
    {
        IRepository<Person> _repository;

        public PersonService(IRepository<Person> repository)
        {
            _repository = repository;
        }

        public Person GetPerson(int PersonId)
        {
            return _repository.GetById(PersonId);
        }
        
    }
}
